//
//  TYZRouter+Mine.m
//  wd-userapp
//
//  Created by Bin Tang on 2022/12/27.
//

#import "TYZRouter+Mine.h"

NSString * const kWDRouterTarget_Mine  = @"Mine";

// action_rootMine
NSString * const kWDRouterAction_getRootMine = @"rootMine";

// action_personalSetting 个人设置
NSString * const kWDRouterAction_getPersonalSetting = @"personalSetting";

// action_modifyPwd 修改密码
NSString * const kWDRouterAction_getModifyPwd = @"modifyPwd";

// action_mineAbout 关于
NSString * const kWDRouterAction_getMineAbout = @"mineAbout";

// action_login 登录
NSString * const kWDRouterAction_getLogin = @"login";


@implementation TYZRouter (Mine)

/// 我的
/// @param param param description
- (UIViewController *)getRootMineVC:(NSDictionary *)param
{
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_Mine action:kWDRouterAction_getRootMine params:param shouldCacheTarget:NO];
}

/// 个人设置
/// @param param param description
- (UIViewController *)getPersonalSettingVC:(NSDictionary *)param {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_Mine action:kWDRouterAction_getPersonalSetting params:param shouldCacheTarget:NO];
}

/// 修改密码
/// @param param param description
- (UIViewController *)getModifyPwdVC:(NSDictionary *)param {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_Mine action:kWDRouterAction_getModifyPwd params:param shouldCacheTarget:NO];
}

/// 关于
/// @param param param description
- (UIViewController *)getMineAboutVC:(NSDictionary *)param {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_Mine action:kWDRouterAction_getMineAbout params:param shouldCacheTarget:NO];
}

/// 登录
/// @param param param description
- (UIViewController *)getLoginVC:(NSDictionary *)param {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_Mine action:kWDRouterAction_getLogin params:param shouldCacheTarget:NO];
}
// action_login 登录
//NSString * const kWDRouterAction_getLogin = @"login";


@end
